package com.mytinyRPC.register;


import com.mytinyRPC.framework.URL;

public interface ServiceRegistry {
    /***
     * @Author HP
     * @Description //TODO 清空注册中心
     * @Name clear
     * @Param []
     * @return void
     **/
    public void clear();

    /***
     * @Author HP
     * @Description //TODO  服务注册
     * @Name registerService
     * @Param [interfaceName, inetSocketAddress]
     * @return void
     **/
    public void registerService(String interfaceName, URL inetSocketAddress);
}
